 

import java.awt.event.KeyAdapter;
import java.awt.event.KeyEvent;

public class _TastaturAdapter extends KeyAdapter
{
  public void keyPressed(KeyEvent e)
  {
    int code = e.getKeyCode();

    if (8 != code)
    {
      if ((18 == code) || (16 == code) || (17 == code));
    }
  }
}